package com.wochao.web.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wochao.model.entity.FacilityInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface FacilityInfoMapper extends BaseMapper<FacilityInfo> {

    /**
     * 根据公寓ID查询配套列表
     * @param id
     * @return
     */
    List<FacilityInfo> selectListByApartmentId(Long id);

    /**
     * 根据房间ID查询配套列表
     * @param id
     * @return
     */
    List<FacilityInfo> selectListByRoomId(Long id);
}




